package com.neu.cpsp.pojo;

import java.io.Serializable;
import java.util.List;

public class EvaluateRecord implements Serializable {
    private Integer id;

    private Integer year;

    private Integer quarter;

    private Integer times;

    private EmployeeEntity employee;

    private Department department;

    private Boolean isTakeEffect;

    private RegulationType regulationType;

    private RegulationDetail regulationDetail;

    private List<EvaluateRecordRelated> relatedEmployees;

    private static final long serialVersionUID = 1L;

    public EvaluateRecord() {
    }

    public EvaluateRecord(Integer id, Integer year, Integer quarter, Integer times, EmployeeEntity employee, Department department, Boolean isTakeEffect, RegulationType regulationType, RegulationDetail regulationDetail, List<EvaluateRecordRelated> relatedEmployees) {
        this.id = id;
        this.year = year;
        this.quarter = quarter;
        this.times = times;
        this.employee = employee;
        this.department = department;
        this.isTakeEffect = isTakeEffect;
        this.regulationType = regulationType;
        this.regulationDetail = regulationDetail;
        this.relatedEmployees = relatedEmployees;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public List<EvaluateRecordRelated> getRelatedEmployees() {
        return relatedEmployees;
    }

    public void setRelatedEmployees(List<EvaluateRecordRelated> relatedEmployees) {
        this.relatedEmployees = relatedEmployees;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getYear()
    {
        return year;
    }

    public void setYear(Integer year)
    {
        this.year = year;
    }

    public Integer getQuarter()
    {
        return quarter;
    }

    public void setQuarter(Integer quarter)
    {
        this.quarter = quarter;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public EmployeeEntity getEmployee() {
        return employee;
    }

    public void setEmployee(EmployeeEntity employee) {
        this.employee = employee;
    }

    public Boolean getTakeEffect()
    {
        return isTakeEffect;
    }

    public void setTakeEffect(Boolean takeEffect)
    {
        isTakeEffect = takeEffect;
    }

    public RegulationType getRegulationType() {
        return regulationType;
    }

    public void setRegulationType(RegulationType regulationType) {
        this.regulationType = regulationType;
    }

    public RegulationDetail getRegulationDetail() {
        return regulationDetail;
    }

    public void setRegulationDetail(RegulationDetail regulationDetail) {
        this.regulationDetail = regulationDetail;
    }

    @Override
    public String toString() {
        return "EvaluateRecord{" +
                "id=" + id +
                ", year=" + year +
                ", quarter=" + quarter +
                ", times=" + times +
                ", employee=" + employee +
                ", isTakeEffect=" + isTakeEffect +
                ", regulationType=" + regulationType +
                ", regulationDetail=" + regulationDetail +
                '}';
    }
}